package com.candy.service.impl;

import com.candy.dao.IAccountDao;
import com.candy.dao.impl.AccountDaoImpl;
import com.candy.service.IAccountService;

import java.util.*;

/**
 * 业务逻辑处理层
 */
public class AccountServiceImpl2 implements IAccountService {
    private String[] myStrs;
    private List myList;
    private Set mySet;
    private Map<String,Object> myMap;
    private Properties myProps;


    public AccountServiceImpl2() {
    }


    public String[] getMyStrs() {
        return myStrs;
    }

    public void setMyStrs(String[] myStrs) {
        this.myStrs = myStrs;
    }

    public List getMyList() {
        return myList;
    }

    public void setMyList(List myList) {
        this.myList = myList;
    }

    public Set getMySet() {
        return mySet;
    }

    public void setMySet(Set mySet) {
        this.mySet = mySet;
    }

    public Map<String, Object> getMyMap() {
        return myMap;
    }

    public void setMyMap(Map<String, Object> myMap) {
        this.myMap = myMap;
    }

    public Properties getMyProps() {
        return myProps;
    }

    public void setMyProps(Properties myProps) {
        this.myProps = myProps;
    }

    @Override
    public void saveAccount() {
        System.out.println("myStrs:"+Arrays.toString(myStrs));
        System.out.println("myList:"+myList);
        System.out.println("mySet:"+mySet);
        System.out.println("myMap:"+myMap);
        System.out.println("myProps:"+myProps);
    }

    public void startMethod(){
        System.out.println("对象初始化调用....");
    }
    public  void endMethod(){
        System.out.println("对象销毁调用.....");
    }


}
